package com.chenyue.cm.news.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.base.dao.LcBaseMapper;
import org.springframework.beans.factory.annotation.Qualifier;
import com.chenyue.cm.news.dao.JdNewsViewRecordMapper;
import com.chenyue.cm.news.domain.JdNewsViewRecord;
import com.chenyue.cm.news.service.JdNewsViewRecordService;
import org.springframework.stereotype.Service;


/**
 * @author chenyue-cm
 */
@Service(value = "JdNewsViewRecordService")
public class JdNewsViewRecordServiceImpl extends BaseServiceImpl<JdNewsViewRecord> implements JdNewsViewRecordService {

    private final JdNewsViewRecordMapper jdNewsViewRecordMapper;

    public JdNewsViewRecordServiceImpl(@Qualifier("jdNewsViewRecordMapper") JdNewsViewRecordMapper jdNewsViewRecordMapper) {
        this.jdNewsViewRecordMapper = jdNewsViewRecordMapper;
    }

    @Override
    @Resource(name = "jdNewsViewRecordMapper")
    public void setBaseMapper(LcBaseMapper<JdNewsViewRecord, Serializable> baseMapper) {
        this.baseMapper = baseMapper;
    }

}
